<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
    <head>
        <title>Taco Cloud</title>
        <link rel="stylesheet" th:href="@{/styles.css}" />
    </head>


<body>
<div align="center">
    <h1>请输入您的选课,<span th:text="${user.fullname}">NAME</span>!</h1>
    <img th:src="@{/images/TacoCloud.png}"/>
    <form method="POST" th:object="${list}">
		
	<div class="grid">
	<h3>学生姓名:	<span th:text="${personal.name}">CourseAttribute</span><br></h3>
	
	
    <div class="CourseAttribute-group">
       <div th:each="type:${types}">
		<div class="CourseAttribute-group" id="${type.toString()}">	
			<h2 th:text="${type.toString()}">课程类</h2>
			<div th:each="CourseAttribute : ${[type.toString()]}">
				<input name="CourseAttributes" type="checkbox" th:value="${CourseAttribute.id}" >
				<span th:text="${CourseAttribute.name}">CourseAttribute</span><br>
			</div>
			
		</div>
	</div> 
		<input type="submit" value="提交">
		
		
	</div>
</div>
       
       
        
    </form>
</div>
</body>
